package com.guofen.dao;

import com.guofen.pojo.SjqWaterProcess;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SjqWaterProcessMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SjqWaterProcess record);

    int insertSelective(SjqWaterProcess record);

    SjqWaterProcess selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SjqWaterProcess record);

    int updateByPrimaryKey(SjqWaterProcess record);

    SjqWaterProcess findLast();

    List<SjqWaterProcess> selectAll();

    List<SjqWaterProcess> selectByDate(@Param("startDate") String startDate,
                                       @Param("endDate") String endDate);
}